public class test {
     //求1到100偶数和
     public static void main(String[] args) {
         int sum = 0;
         for(int a =1 ; a<=100 ; a++){
            if(a % 2 == 0){
             sum += a;
         }else{

            }
         }
         System.out.println(sum);
     }




}
